#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
void test()
{
	Stack s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 4);
	StackPush(&s, 5);

	printf("%d ", StackTop(&s));
	StackPop(&s);

	printf("%d ", StackTop(&s));
	StackPop(&s);

	printf("%d ", StackTop(&s));
	StackPop(&s);

	printf("%d ", StackSize(&s));

	printf("%d ", StackEmpty(&s));

	StackDestroy(&s);



}
int main()
{
	test();
	return 0;
}